
public class one {
    public static void main(String[] args) {
        char word1 = '上';
        char word2 = '海';

        System.out.println("“上”的Unicode是:"+(int)word1);
        System.out.println("“海”的Unicode是:"+(int)word2);
    }
}
